﻿using static Medical.Domain.Enum.DepartmentEnum;

namespace Medical.Api.Write.Dto.Wms
{
    public class WmsDto
    {
        public int Id { get; set; }
    }

    /// <summary>
    /// 出库主表修改DTO（仅允许修改仓库和原因）
    /// </summary>
    public class UptOutDto
    {
        public int Id { get; set; }
        public int OutWarehouse { get; set; }
        public int OutReason { get; set; }
    }

    /// <summary>
    /// 发放主表新增DTO
    /// </summary>
    public class AddLssueDto
    {
        public string LssueCode { get; set; }
        public string LssueName { get; set; }
        public DateTime LssueDate { get; set; }
        public int ApplyingUnit { get; set; }
        public string AcceptName { get; set; }
        public int LssueState { get; set; }
        public List<AddLssueDetailDto> Details { get; set; }
    }
    /// <summary>
    /// 发放明细新增DTO
    /// </summary>
    public class AddLssueDetailDto
    {
        public int MaterialType { get; set; }
        public int MaterialId { get; set; }
        public string MaterialCode { get; set; }
        public string MaterialName { get; set; }
        public int LssueNum { get; set; }
    }

    
}
